home *** CD-ROM | disk | FTP | other *** search
/ Champak 130 / Vol 130.iso / games / hummer.swf / scripts / DefineSprite_201 / frame_53 / DoAction.as
Encoding:
Text File  |  2007-01-08  |  2.8 KB  |  101 lines

  1. var ┬º\x01┬º = 262;
  2. while(true)
  3. {
  4.    if(eval("\x01") == 262)
  5.    {
  6.       set("\x01",eval("\x01") - 88);
  7.       ┬º┬ºpush(true);
  8.    }
  9.    else
  10.    {
  11.       if(eval("\x01") == 856)
  12.       {
  13.          set("\x01",eval("\x01") - 76);
  14.          break;
  15.       }
  16.       if(eval("\x01") == 174)
  17.       {
  18.          set("\x01",eval("\x01") + 346);
  19.          if(┬º┬ºpop())
  20.          {
  21.             set("\x01",eval("\x01") + 391);
  22.          }
  23.       }
  24.       else
  25.       {
  26.          if(eval("\x01") == 337)
  27.          {
  28.             set("\x01",eval("\x01") + 291);
  29.             break;
  30.          }
  31.          if(eval("\x01") == 520)
  32.          {
  33.             set("\x01",eval("\x01") + 391);
  34.             ┬º┬ºpop() implements ;
  35.             var ┬º┬ºpop() = length(┬º┬ºpop());
  36.             break;
  37.          }
  38.          if(eval("\x01") == 15)
  39.          {
  40.             set("\x01",eval("\x01") + 841);
  41.             if(┬º┬ºpop())
  42.             {
  43.                set("\x01",eval("\x01") - 76);
  44.             }
  45.          }
  46.          else if(eval("\x01") == 911)
  47.          {
  48.             set("\x01",eval("\x01") - 896);
  49.             ┬º┬ºpush(true);
  50.          }
  51.          else if(eval("\x01") == 780)
  52.          {
  53.             set("\x01",eval("\x01") + 31);
  54.             ┬º┬ºpush(true);
  55.          }
  56.          else
  57.          {
  58.             if(eval("\x01") != 811)
  59.             {
  60.                if(eval("\x01") == 628)
  61.                {
  62.                   set("\x01",eval("\x01") + 114);
  63.                   _root.gameInfo.currentGame.score = new Array();
  64.                   _root.gameInfo.currentGame.pos = new Array();
  65.                   switch(action)
  66.                   {
  67.                      case 0:
  68.                         _root.gameInfo.currentGame.level = 0;
  69.                         _root.gameInfo.currentGame.type = 0;
  70.                         _parent.gotoAndStop("selectorCH");
  71.                         break;
  72.                      case 1:
  73.                         _root.gameInfo.currentGame.level = 0;
  74.                         _root.gameInfo.currentGame.type = 1;
  75.                         _parent.gotoAndStop("selectorGP");
  76.                         break;
  77.                      case 2:
  78.                         _root.gameInfo.currentGame.level = 0;
  79.                         _root.gameInfo.currentGame.type = 2;
  80.                         _parent.gotoAndStop("selector2IN1");
  81.                         break;
  82.                      case 3:
  83.                         _parent.gotoAndStop("settings");
  84.                         break;
  85.                      case 4:
  86.                         _parent.gotoAndStop("TS");
  87.                   }
  88.                   stop();
  89.                }
  90.                break;
  91.             }
  92.             set("\x01",eval("\x01") - 474);
  93.             if(┬º┬ºpop())
  94.             {
  95.                set("\x01",eval("\x01") + 291);
  96.             }
  97.          }
  98.       }
  99.    }
  100. }
  101.